package com.tianma315.admin.device.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.device.domain.DeviceDO;
import com.tianma315.admin.device.vo.DeviceAndTypeVO;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 
 * <pre>
 * 设备表
 * </pre>
 * <small> 2019-05-22 16:08:48 | Aron</small>
 */
public interface DeviceService extends CoreService<DeviceDO> {
    Page<DeviceAndTypeVO> getDeviceAndTypeVOPage(Integer pageNumber, Integer pageSize, DeviceDO deviceDTO);

    boolean addDeviceDO(DeviceDO deviceDO);

    boolean deleteDeviceDO(Integer id);

    HSSFWorkbook exportDevice();

    void importDevice(MultipartFile file,Long userId);

}
